<!DOCTYPE html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="viewport"
		content="width=device-width,initial-scale=1, maximum-scale=1, minimum-scale=1,user-scalable=no, minimal-ui">
	<meta http-equiv="x-dns-prefetch-control" content="on">
	<link rel="dns-prefetch" href="https://ttk-saas.oss-cn-beijing.aliyuncs.com">
	<title>风险防控</title>
	<link rel="stylesheet"
		href="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/ant-design-vue@1.7.3.css?v=2025061801">
	<link rel="stylesheet"
		href="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/diy-mobile-pc.css?v=2025061801">



	<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/static/plugins/vue/vue.min.js?v=2025061801"></script>
	<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/static/plugins/jquery/jquery-3.7.1.min.js?v=2025061801">
	</script>
	<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/diy-mobile-global-func.js?v=2025061801">
	</script>
	<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/diy-mobile-pc.js?v=2025061801"></script>

	<link rel="stylesheet"
		href="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/library-ant-design-vue.css?v=2025061801">
	<link rel="stylesheet" href="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/vant.min.css?v=2025061801">
	<link rel="stylesheet"
		href="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/diy-pass-big-screen.css?v=2025061801">
	<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/echarts@5.4.3.js?v=2025061801"></script>
	<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/echarts-gl@2.0.8.min.js?v=2025061801">
	</script>
	<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/china_json.js?v=2025061801"></script>

	<style>
		[v-cloak] {
			display: none !important;
		}

		.antdVue {
			position: relative;
			width: 100%;
			background: rgba(8, 18, 30, 1);
			padding-top: 20px;
		}

		.zoom_bg_color {
			background: #fff;
		}

		#antdVue .fengxianfangkong_mobile_adapter_161_random_flex_1 {
			background: rgba(19, 32, 52, 1);
			height: 44px;
			line-height: 44px;
			padding: 0px 16px 0px 16px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_311_fd1_2 {
			right: 16px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_839_fd1_1 {
			height: 44px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_297_random_flex_2 {
			margin: 0px auto 0px auto;
		}

		#antdVue .fengxianfangkong_mobile_adapter_442_fd2_2 {
			border: 0px solid #6B7574;
			background: #132034;
			width: 90%;
			height: 200px;
			margin: 0px auto 12px auto;
		}

		#antdVue .fengxianfangkong_mobile_adapter_848_random_fd2_1_c2_c0 {
			height: 160px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_797_fd2_1_c2 {
			height: 170px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_411_fd2_1_c1_c1_c0_c1_c0 {
			font-family: Helvetica, Helvetica;
			font-style: normal;
		}

		#antdVue .fengxianfangkong_mobile_adapter_615_fd2_1_c1_c1_c0_c0 {
			width: 67px;
			height: 67px;
			border-radius: 0px 0px 0px 0px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_686_fd2_1_c1_c1_c0 {
			background: #222D49;
			border-radius: 8px;
			padding: 17px 0px 17px 13px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_863_fd2_1_c1_c1 {
			width: 48%;
			height: 172px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_435_fd2_1_c1_c0_c1 {
			width: 67px;
			height: 67px;
			border-radius: 0px 0px 0px 0px;
			margin: 10px 0px 6px 0px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_347_fd2_1_c1_c0_c0 {
			font-family: Helvetica, Helvetica;
			font-style: normal;
			line-height: 22px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_238_fd2_1_c1_c0 {
			background: #222D49;
			width: 48%;
			border-radius: 8px;
			padding: 25px 0px 25px 0px;
			height: 170px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_804_fd2_1_c1 {
			margin: 16px 16px 0px 16px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_418_fd2_1_c0_c1 {
			margin: 0px 0px 0px 16px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_628_fd2_1_c0_c0 {
			width: 4px;
			height: 16px;
			border-radius: 0px 0px 0px 0px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_803_fd2_1_c0 {
			margin: 16px 0px 0px 0px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_798_fd2_1 {
			border: 0px solid #6B7574;
			background: #132034;
			width: 90%;
			height: 400px;
			margin: 0px auto 12px auto;
		}

		#antdVue .fengxianfangkong_mobile_adapter_fd2_0_c0_c0_1 {
			height: 28px;
			line-height: 28px;
			color: rgba(221, 221, 221, 1);
		}

		#antdVue .fengxianfangkong_mobile_adapter_278_fd2_0_c0_c0 {
			border-radius: 16px;
			height: 28px;
			line-height: 28px;
		}

		#antdVue .fengxianfangkong_mobile_adapter_834_fd2_0_c0 {
			width: 28%;
			color: rgba(221, 221, 221, 1);
		}

		#antdVue .fengxianfangkong_mobile_adapter_611_fd2_0 {
			background: rgba(19, 32, 52, 1);
			height: 47px;
			margin: 0px 0px 12px 0px;
		}

		#antdVue .benben-iframe-box {
			left: 0;
			top: 0;
		}

		::-webkit-scrollbar {
			width: 0 !important;
		}

		::-webkit-scrollbar {
			width: 0 !important;
			height: 0;
		}

		#antdVue .nav {
			width: 100%;
			height: 47px;
			background-color: #132034;


		}

		#antdVue .nav .item {
			text-align: center;
			line-height: 28px;
			min-width: 76px;
			height: 28px;
			padding: 0 6px;
			font-size: 14px;
			color: #DDDDDD;
		}

		#antdVue .nav .active {
			color: #ffffff;
			background: #1259E8;
			border-radius: 28px 28px 28px 28px;
		}

		.inputtime {
			/*height: 88px;*/
			justify-content: center;
			margin-left: auto;
			margin-right: 24px;
			background: rgba(8, 18, 30, 1);
			border: none;
			position: relative;
		}

		.inputtime::-webkit-calendar-picker-indicator {
			position: absolute;
			right: 0;
			padding-left: calc(100% - 10px);
			padding-right: 10px;
		}

		.inputtime {
			color: #fff;
			width: 90%;
			margin-left: 5%;
			margin: 0 5%;
		}
	</style>
</head>
<body>
	<div id="antdVue" :style="themeColorInit(themeColorConfig)" style="width:100%; height:100%;">
		<div class="antdVue SPECIAL_EFFECT_FULL_SCREEN_WRAPPER" v-cloak>

			<input type="hidden" id="hidden_field_user_token" value="">
			<input type="hidden" id="hidden_field_member_id" value="">
			<input type="hidden" id="hidden_field_alias" value="">
			<input type="hidden" id="hidden_field_aid" value="">
			<input type="hidden" id="hidden_field_roles" value="">
			<input type="hidden" id="web_url_oss" value="https://ttk-saas.oss-cn-beijing.aliyuncs.com">

			<benben-screen-global-filter @chart_get_page="chart_get_page"></benben-screen-global-filter>




			<!-- <div class="flex benben-flex-layout  flex-wrap   w-100 h-100 ov-y-hd ov-x-hd"     >
                <div   class="flex  flex-wrap align-center  w-100 h-100"        >
              <template v-if="total>=key0">
                            <iframe
                                class='benben-iframe-box bg-c-fff w-100 h-100 position-absolute'
                                data-scrolltop="0" frameborder="0" :src="item.url+'&open_mute='+(key0==0?true:false)" v-show="key0==current_index"
                                :ref="'iframeBox_'+key0">

                            </iframe>
                        </template> 

        </div>

    </div> -->


			<!-- <div class="flex align-stretch benben-flex-layout fengxianfangkong_mobile_adapter_161_random_flex_1 w-100 position-relative bg-size-auto"     >
        <span class="fu-iconfont2   f-c-3"    @click="back">&#xe794;</span>
<span class="fengxianfangkong_mobile_adapter_839_fd1_1 position-absolute w-100 t-ct f-c-3 t-18"  >风险防控</span>
<span class='fu-iconfont2  fengxianfangkong_mobile_adapter_311_fd1_2 f-c-3 position-absolute'  >&#xe756;</span>

    </div> -->

			<a-input id="dateInput" placeholder="选择日期" class='benben-flex-input-diy inputtime' @change="cehck()"
				type="date" v-model="time">
			</a-input>
			<div class="flex benben-flex-layout  flex-wrap  fengxianfangkong_mobile_adapter_297_random_flex_2 ">
				<div class="flex align-center fengxianfangkong_mobile_adapter_611_fd2_0 w-100 ov-x-ao bg-size-auto">
					<div class="flex flex-wrap align-center justify-center fengxianfangkong_mobile_adapter_834_fd2_0_c0"
						@click.stop="cehck('0')">
						<span
							class="fengxianfangkong_mobile_adapter_278_fd2_0_c0_c0 bg-c-2 pd-t-0 pd-r-10 pd-b-0 pd-l-10 bg-size-auto t-ct f-c-fff w-100-px"
							v-if="active==0">风险评估</span><span
							class="fengxianfangkong_mobile_adapter_fd2_0_c0_c0_1 pd-t-0 pd-r-10 pd-b-0 pd-l-10 t-ct w-100-px"
							v-if="active!=0">风险评估</span>

					</div>
					<div class="flex flex-wrap align-center justify-center fengxianfangkong_mobile_adapter_834_fd2_0_c0"
						@click.stop="cehck('1')">
						<span
							class="fengxianfangkong_mobile_adapter_278_fd2_0_c0_c0 bg-c-2 pd-t-0 pd-r-10 pd-b-0 pd-l-10 bg-size-auto t-ct f-c-fff w-100-px"
							v-if="active=='1'">专项检查</span><span
							class="fengxianfangkong_mobile_adapter_fd2_0_c0_c0_1 pd-t-0 pd-r-10 pd-b-0 pd-l-10 t-ct w-100-px"
							v-if="active!='1'">专项检查</span>

					</div>
					<div class="flex flex-wrap align-center justify-center fengxianfangkong_mobile_adapter_834_fd2_0_c0"
						@click.stop="cehck('2')">
						<span
							class="fengxianfangkong_mobile_adapter_278_fd2_0_c0_c0 bg-c-2 pd-t-0 pd-r-10 pd-b-0 pd-l-10 bg-size-auto t-ct f-c-fff w-100-px"
							v-if="active=='2'">隐患排查</span><span
							class="fengxianfangkong_mobile_adapter_fd2_0_c0_c0_1 pd-t-0 pd-r-10 pd-b-0 pd-l-10 t-ct w-100-px"
							v-if="active!='2'">隐患排查</span>

					</div>

				</div>
				<div class="flex  flex-wrap align-center fengxianfangkong_mobile_adapter_798_fd2_1 bdr-16">
					<div class="flex  flex-wrap align-center fengxianfangkong_mobile_adapter_803_fd2_1_c0 w-100">
						<img class='fengxianfangkong_mobile_adapter_628_fd2_1_c0_c0'
							:src="'https://zhongben-crm.oss-cn-zhangjiakou.aliyuncs.com/uploads/images/m'+'_4037/4037482e445e35cfac65c264fbb6929fa34f.png'" />
						<span class="fengxianfangkong_mobile_adapter_418_fd2_1_c0_c1 f-c-fff t-16">今日巡更</span>

					</div>
					<div class="flex align-center justify-between fengxianfangkong_mobile_adapter_804_fd2_1_c1 w-100">
						<div
							class="flex flex-direction align-center justify-center fengxianfangkong_mobile_adapter_238_fd2_1_c1_c0 f-c-3 t-14">
							<span class="self-center fengxianfangkong_mobile_adapter_347_fd2_1_c1_c0_c0 t-ct t-22 t-w-7"
								v-if="active==0">{{info1.fxpg}}</span><span
								class="fengxianfangkong_mobile_adapter_347_fd2_1_c1_c0_c0 t-ct t-22 t-w-7"
								v-if="active=='1'">{{info2.zxjc}}</span><span
								class="fengxianfangkong_mobile_adapter_347_fd2_1_c1_c0_c0 t-ct t-22 t-w-7"
								v-if="active=='2'">{{info3.yhpc}}</span>
							<img class='fengxianfangkong_mobile_adapter_435_fd2_1_c1_c0_c1'
								:src="'https://zhongben-crm.oss-cn-zhangjiakou.aliyuncs.com/uploads/images/m'+'_4037/4037a420dfef8eb612b8769832c6afc8627e.png'" />
							<span v-if="active==0">风险评估</span><span v-if="active=='1'">专项检查</span><span
								v-if="active=='2'">隐患排查</span>

						</div>
						<div
							class="flex flex-direction flex-wrap align-center justify-between fengxianfangkong_mobile_adapter_863_fd2_1_c1_c1">
							<div
								class="flex align-center fengxianfangkong_mobile_adapter_686_fd2_1_c1_c1_c0 w-100 f-c-fff t-14 h-80-px">
								<img class='fengxianfangkong_mobile_adapter_615_fd2_1_c1_c1_c0_c0'
									:src="'https://zhongben-crm.oss-cn-zhangjiakou.aliyuncs.com/uploads/images/m'+'_4037/4037c090fbc32f9a263be9e7a23e228ecd28.png'" />
								<div class="flex flex-direction align-start  mg-t-0 mg-r-0 mg-b-0 mg-l-10 w-100">
									<span
										class="self-start fengxianfangkong_mobile_adapter_411_fd2_1_c1_c1_c0_c1_c0 t-ct t-22 t-w-7"
										v-if="active==0">{{info1.ypg}}</span><span
										class="fengxianfangkong_mobile_adapter_411_fd2_1_c1_c1_c0_c1_c0 t-ct t-22 t-w-7"
										v-if="active=='1'">{{info2.yjc}}</span><span
										class="fengxianfangkong_mobile_adapter_411_fd2_1_c1_c1_c0_c1_c0 t-ct t-22 t-w-7"
										v-if="active=='2'">{{info3.ypc}}</span>
									<span v-if="active==0">已评估</span><span v-if="active=='1'">已检查</span><span
										v-if="active=='2'">已排查</span>

								</div>

							</div>
							<div
								class="flex align-center fengxianfangkong_mobile_adapter_686_fd2_1_c1_c1_c0 w-100 f-c-fff t-14 h-80-px">
								<img class='fengxianfangkong_mobile_adapter_615_fd2_1_c1_c1_c0_c0'
									:src="'https://zhongben-crm.oss-cn-zhangjiakou.aliyuncs.com/uploads/images/m'+'_4037/4037592cd87924858e3dbee041f99f611524.png'" />
								<div class="flex flex-direction align-start  mg-t-0 mg-r-0 mg-b-0 mg-l-10 w-100">
									<span
										class="self-start fengxianfangkong_mobile_adapter_411_fd2_1_c1_c1_c0_c1_c0 t-ct t-22 t-w-7"
										v-if="active==0">{{info1.dpg}}</span><span
										class="fengxianfangkong_mobile_adapter_411_fd2_1_c1_c1_c0_c1_c0 t-ct t-22 t-w-7"
										v-if="active=='1'">{{info2.wjc}}</span><span
										class="fengxianfangkong_mobile_adapter_411_fd2_1_c1_c1_c0_c1_c0 t-ct t-22 t-w-7"
										v-if="active=='2'">{{info3.dpc}}</span>
									<span v-if="active==0">待评估</span><span v-if="active=='1'">待检查</span><span
										v-if="active=='2'">待排查</span>

								</div>

							</div>

						</div>

					</div>
					<div class="flex  flex-wrap align-center fengxianfangkong_mobile_adapter_797_fd2_1_c2 w-100">

						<benben-pie-ring class='fengxianfangkong_mobile_adapter_848_random_fd2_1_c2_c0 w-100'
							data_source_type="2" :data_source_field_name="jrxg" chart_show_type="pie-ring"
							show_title="false" title_position="left" title_name="标题" :theme_color="theme_color_6079"
							:chart-option="chartOptions_random_8311">

						</benben-pie-ring>


					</div>

				</div>
				<div class="flex  flex-wrap align-center fengxianfangkong_mobile_adapter_442_fd2_2 bdr-16">
					<div class="flex  flex-wrap align-center fengxianfangkong_mobile_adapter_803_fd2_1_c0 w-100">
						<img class='fengxianfangkong_mobile_adapter_628_fd2_1_c0_c0'
							:src="'https://zhongben-crm.oss-cn-zhangjiakou.aliyuncs.com/uploads/images/m'+'_4037/4037482e445e35cfac65c264fbb6929fa34f.png'" />
						<span class="fengxianfangkong_mobile_adapter_418_fd2_1_c0_c1 f-c-fff t-16">问题统计</span>

					</div>
					<div class="flex  flex-wrap align-center fengxianfangkong_mobile_adapter_797_fd2_1_c2 w-100">

						<benben-pie-ring class='fengxianfangkong_mobile_adapter_848_random_fd2_1_c2_c0 w-100'
							data_source_type="2" :data_source_field_name="wttj" chart_show_type="pie-ring"
							show_title="false" title_position="left" title_name="标题" :theme_color="theme_color_4984"
							:chart-option="chartOptions_random_6028">

						</benben-pie-ring>


					</div>

				</div>

			</div>



		</div>
	</div>
</body>
<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/moment@2.20.1.min.js?v=2025061801"></script>
<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/moment@2.20.1.zh-cn.js?v=2025061801"></script>
<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/vant.min.js?v=2025061801"></script>
<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/ant-design-vue@1.7.3.min.js?v=2025061801">
</script>
<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/vue-dash-event@1.0.1.js?v=2025061801"></script>
<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/diy-generate-big-screen-new.js?v=2025061801">
</script>
<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/static/plugins/ajax/axios.js?v=2025061801"></script>
<script src="https://ttk-saas.oss-cn-beijing.aliyuncs.com/pc_paas_diy/u-charts.js?v=2025061801"></script>
<script>
	const dateInput = document.getElementById('dateInput');

	//this.time = ''
	console.log(this.time)
	dateInput.addEventListener('change', function() {
		// 获取字符串格式
		const dateString = this.value;
		console.log('String format:', dateString);

		// 获取 Date 对象
		const dateObj = this.valueAsDate;
		console.log('Date object:', dateObj);

		// 格式化输出
		if (dateObj) {
			console.log('Formatted:', dateObj.toLocaleDateString());
			console.log('Year:', dateObj.getFullYear());
			console.log('Month:', dateObj.getMonth() + 1); // 月份从0开始
			console.log('Day:', dateObj.getDate());
			this.time = dateObj.getFullYear() + '-' + dateObj.getMonth() + 1 + '-' + dateObj.getDate()
			console.log(this.time)
		}
	});
</script>

<script>
	let chart_ids = "";
	let chart_data_ids = "";
	let global_charts_data = {};

	const themeColorConfig = {
		"presetApi": {
			"getClassifyOne": "",
			"getClassifyTow": "",
			"getClassifyShop": ""
		},
		"themeType": 0,
		"themeConfig": [{
			"colorConfig": ["#333333", "#666666", "#999999", "#ffffff", "#0052c7", "#F02325", "#FC9C3A",
				"#4DC777", "#F2CC98", "#F2CC66"
			],
			"bgColorConfig": ["#EBEDF8", "#FFFFFF", "#0052c7", "#FC9C3A", "#FC9fff", "#E6F333", "#E6F1FE",
				"linear-gradient(301deg, #EBBA7B 0%, #F8D9AD 100%)",
				"linear-gradient(180deg, #F5588E 0%, #F0403C 100%)",
				"linear-gradient(179deg, #FFD033 0%, #F4890E 100%)"
			],
			"bdColorConfig": ["#EBEDF8", "#FFFFFF", "#0052c7", "#FC9C3A", "#333333", "#666666", "#999999",
				"#dddddd", "#1178F0", "#F02325"
			]
		}]
	};
	const {
		LocaleProvider,
		locales,
		message,
		Modal
	} = window.antd;
	Vue.prototype.$message = message
	Vue.use(window['vue-dash-event'])
	var user_token = $('#hidden_field_user_token').val();
	var public_headers = {
		'user-token': user_token
	}

	var member_id = $('#hidden_field_member_id').val();
	var hidden_field_alias = $('#hidden_field_alias').val();
	var hidden_field_aid = $('#hidden_field_aid').val();
	var hidden_field_roles = $('#hidden_field_roles').val();
	var web_url_oss = $('#web_url_oss').val();



	const AD_MANGER = new Vue({
		el: '#antdVue',
		mixins: [bigScreenMixins],
		data() {
			receive(this);
			return {
				chart_ids,
				chart_data_ids,
				global_charts_data,
				themeColorConfig,
				locale: locales[lang_to_antd[current_lang]],
				"theme_color_4984": ["rgba(222, 87, 108, 1)", "rgba(240, 201, 106, 1)", "rgba(100, 183, 246, 1)",
					"#6EC890", "#2d3c98", "#6AE7E6", "#0F36A2", "#FC658A"
				],
				"chartOptions_random_6028": {
					"seriesSetting": {
						"center": ["50%", "50%"],
						"radius": ["30%", "50%"],
						"itemStyle": {
							"borderColor": "",
							"borderWidth": "",
							"borderRadius": ""
						},
						"startAngle": 90,
						"type": "pie",
						"label": {
							"color": "#fff"
						}
					},
					"labelSetting": {
						"label": {
							"color": "#fff",
							"show": true,
							"emphasis": {
								"show": true,
								"textStyle": {
									"fontSize": 14,
									"color": "#fff"
								},
								"rich": {
									"a": {
										"fontSize": 14
									}
								}
							}
						},
						"labelLine": {
							"show": true
						}
					},
					"legend": {
						"type": "scroll",
						"textStyle": {
							"color": "#fff"
						},
						"show": false,
						"orient": "horizontal",
						"left": "center",
						"top": ""
					},
					"tooltip": {
						"show": true,
						"autoToolTip": true,
						"trigger": "item",
						"axisPointer": {
							"type": "shadow"
						},
						"textStyle": {
							"color": "rgba(255, 255, 255, 1)",
							"fontSize": 14
						},
						"backgroundColor": "rgba(10, 10, 36, 0.7)",
						"borderColor": "rgba(10, 10, 36, 0.7)"
					}
				},
				"theme_color_6079": ["rgba(222, 87, 108, 1)", "rgba(240, 201, 106, 1)", "rgba(100, 183, 246, 1)",
					"#6EC890", "#2d3c98", "#6AE7E6", "#0F36A2", "#FC658A"
				],
				"chartOptions_random_8311": {
					"seriesSetting": {
						"center": ["50%", "50%"],
						"radius": ["30%", "50%"],
						"itemStyle": {
							"borderColor": "",
							"borderWidth": "",
							"borderRadius": ""
						},
						"startAngle": 90,
						"type": "pie",
						"label": {
							"color": "#fff"
						}
					},
					"labelSetting": {
						"label": {
							"color": "#fff",
							"show": true,
							"emphasis": {
								"show": true,
								"textStyle": {
									"fontSize": 14,
									"color": "#fff"
								},
								"rich": {
									"a": {
										"fontSize": 14
									}
								}
							}
						},
						"labelLine": {
							"show": true
						}
					},
					"legend": {
						"type": "scroll",
						"textStyle": {
							"color": "#fff"
						},
						"show": false,
						"orient": "horizontal",
						"left": "center",
						"top": ""
					},
					"tooltip": {
						"show": true,
						"autoToolTip": true,
						"trigger": "item",
						"axisPointer": {
							"type": "shadow"
						},
						"textStyle": {
							"color": "rgba(255, 255, 255, 1)",
							"fontSize": 14
						},
						"backgroundColor": "rgba(10, 10, 36, 0.7)",
						"borderColor": "rgba(10, 10, 36, 0.7)"
					}
				},
				"active": 0,
				"isFullScreen": false,
				"saizhuge_api_loaded": false,
				"big_screen_global_query": {
					"screen_global_time_range_type": "5",
					"screen_global_time_custom_time": "",
					"screen_global_dept": "",
					"screen_global_user": "",
					"diy_api_time": ""
				},
				"list": ["", "", "", "", "", ""],
				"info": {
					"fxpg": "",
					"ypg": "",
					"dpg": ""
				},
				"pass_request_data": {
					"start_data": ""
				},
				"info2": {
					"zxjc": "",
					"yjc": "",
					"wjc": ""
				},
				"info3": {
					"yhpc": "",
					"ypc": "",
					"dpc": ""
				},
				"info1": {
					"fxpg": "",
					"ypg": "",
					"dpg": ""
				},
				"jrxg": {},
				"wttj": {},
				"viewSource": "PC",
				"big_screen_global_config": {
					"is_screen_global_time": false,
					"is_screen_global_dept": false,
					"is_screen_global_user": false
				},
				"big_screen_color": ["#F27B60", "#F8A200", "#B0D630", "#6EC890", "#2d3c98", "#6AE7E6", "#0F36A2",
					"#FC658A"
				],
				xiaoqu_id: '', //校区id
				time: ''
			};
		},
		components: {},
		computed: {

		},
		created() {
			if (getUrlKey('viewSource')) {
				this.viewSource = getUrlKey('viewSource');
			}
			this.getinfo()
		},
		mounted() {


		},
		beforeDestroy() {

		},
		watch: {

		},
		methods: {
			isEmpty,

			//切换类型
			cehck(index) {
				if (index) {
					this.active = index;
				} else {
					this.active = this.active;
				}

				if (this.active == 0) {
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/68366d05400db',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,
						},
						dataType: 'json',
						abortType: 0,
						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.info1 = res.data
						}
					})
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/674415745edea',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,
						},
						dataType: 'json',
						abortType: 0,

						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.jrxg = {
								"chart_data": [

								]
							}

							this.jrxg.chart_data = res.data
							console.log(res.data.length)
							if (res.data.length == 0) {
								this.jrxg.chart_data = []
							}
							console.log(this.jrxg)
						}

					})
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/6743f57dbb18f',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,

						},
						dataType: 'json',
						abortType: 0,

						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.wttj = {
								"chart_data": [

								]
							}
							this.wttj.chart_data = res.data
							if (res.data.length == 0) {
								this.wttj.chart_data = []
							}

							console.log(this.wttj)
							console.log(res.data.length)
						}

					})
				} else if (this.active == 1) {
					//专项检查
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/67441d70997ae',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,
						},
						dataType: 'json',
						abortType: 0,

						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.info2 = res.data
						}
					})
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/674429b35c3bd',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,
						},
						dataType: 'json',
						abortType: 0,

						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.jrxg = {
								"chart_data": [

								]
							}
							this.jrxg.chart_data = res.data
							if (res.data.length == 0) {
								this.jrxg.chart_data = []
							}
							console.log(res.data.length)
						}

					})
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/674428106abeb',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,
						},
						dataType: 'json',
						abortType: 0,

						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.wttj = {
								"chart_data": [

								]
							}
							this.wttj.chart_data = res.data
							if (res.data.length == 0) {
								this.wttj.chart_data = []
							}
							console.log(res.data.length)
						}

					})
				} else if (this.active == 2) {
					//隐患排查
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/67442b2f433b1',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,
						},
						dataType: 'json',
						abortType: 0,
						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.info3 = res.data
						}
					})
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/674431abb4e18',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,
						},
						dataType: 'json',
						abortType: 0,

						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.jrxg = {
								"chart_data": [

								]
							}
							this.jrxg.chart_data = res.data
							if (res.data.length == 0) {
								this.jrxg.chart_data = []
							}
							console.log(res.data.length)
						}

					})
					commonAjax({
						type: 'POST',
						url: 'https://yufabu.saizhuge.net/api/m4037/67442f39f3b7e',
						data: {
							start_data: this.time,
							xiaoqu_id: this.xiaoqu_id,
						},
						dataType: 'json',
						abortType: 0,

						success: (res) => {
							if (res.code != 1) {
								this.$message.info(res.msg);
								return
							}
							this.wttj = {
								"chart_data": [

								]
							}
							this.wttj.chart_data = res.data
							if (res.data.length == 0) {
								this.wttj.chart_data = []
							}
							console.log(res.data.length)
						}

					})
				}

			},
			//返回
			back() {
				console.log(111)
			},
			//统一获取自定义接口
			get_diy_api_page() {

			},
			//今日巡更
			getinfo() {
				// let time = new Date();
				// let year = time.getFullYear();
				// let month = time.getMonth() + 1;
				// let day = time.getDate();
				// if (month < 10) {
				// 	month = '0' + month
				// }
				// if (day < 10) {
				// 	day = '0' + day
				// }
				// this.time = year + '-' + month + '-' + day
				// console.log(this.time)
				//风险
				var queryString = window.location.search;
				this.xiaoqu_id = queryString.split("?id=")[1];
				commonAjax({
					type: 'POST',
					url: 'https://yufabu.saizhuge.net/api/m4037/68366d05400db',
					data: {
						start_data: this.time,
						xiaoqu_id: this.xiaoqu_id,
					},
					dataType: 'json',
					abortType: 0,
					success: (res) => {
						if (res.code != 1) {
							this.$message.info(res.msg);
							return
						}
						this.info1 = res.data
					}
				})
				commonAjax({
					type: 'POST',
					url: 'https://yufabu.saizhuge.net/api/m4037/674415745edea',
					data: {
						start_data: this.time,
						xiaoqu_id: this.xiaoqu_id,
					},
					dataType: 'json',
					abortType: 0,

					success: (res) => {
						if (res.code != 1) {
							this.$message.info(res.msg);
							return
						}
						this.jrxg1 = {
							"chart_data": [

							]
						}
						this.jrxg1.chart_data = res.data
						if (res.data.length == 0) {
							this.jrxg1.chart_data = []
						}
						this.jrxg = this.jrxg1
						console.log(this.jrxg1)
					}

				})
				commonAjax({
					type: 'POST',
					url: 'https://yufabu.saizhuge.net/api/m4037/6743f57dbb18f',
					data: {
						start_data: this.time,
						xiaoqu_id: this.xiaoqu_id,
					},
					dataType: 'json',
					abortType: 0,

					success: (res) => {
						if (res.code != 1) {
							this.$message.info(res.msg);
							return
						}
						this.wttj1 = {
							"chart_data": [

							]
						}
						this.wttj1.chart_data = res.data
						if (res.data.length == 0) {
							this.wttj1.chart_data = []
						}
						this.wttj = this.wttj1

						console.log(this.wttj1)
					}

				})




			}
		}
	});
</script>
